Create a GUI IP Address Control
#Include <GuiIPAddress.au3>
_GUICtrlIpAddressCreate ( hwnd, left, top, width, height [, style [, exstyles]] )
Parameters
hwnd | handle to a gui window |
left | The left side of the control |
top | The top of the control |
width | The width of the control |
height | The height of the control |
style | [optional] defines the style of the control default (-1): none forced styles : $WS_CHILD, $WS_VISIBLE, $WS_TABSTOP |
exstyles | [optional] Defines the extended style of the control default (-1): none |
Return Value
Remarks
None
Related
Example
#include <GuiIPAddress.au3>
Opt("MustDeclareVars", 1)
_Main()
Func _Main()
Local $msg, $hgui, $button, $hIPAddress
$hgui = GUICreate("IP Address Control Create Example", 300, 150)
$hIPAddress = _GUICtrlIpAddressCreate ($hgui, 10, 10, 125, 30, $WS_THICKFRAME)
$button = GUICtrlCreateButton("Exit", 100, 100, 100, 25)
GUISetState(@SW_SHOW)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE Or $msg = $button
Exit
EndSelect
WEnd
EndFunc ;==>_Main